package com.qf.api.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.api.blog.dto.NameDTO;
import com.qf.api.blog.entity.CategoryEntity;

/**
* @author sin
* @description 针对表【t_category(文章分类表)】的数据库操作Service
* @createDate 2025-05-23 13:27:40
*/
public interface CategoryService extends IService<CategoryEntity> {

    boolean addCategory(NameDTO nameDTO);

    boolean updateCategory(Long id, NameDTO nameDTO);
}
